Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More appveyor improvements #1236

Merged
merged 2 commits into from
Oct 26, 2015
Merged

More appveyor improvements #1236

merged 2 commits into from
Oct 26, 2015

Conversation

ndmitchell
Copy link
Contributor

The first commit saves me somewhere in the 1-3 minute range under good scenarios, but occasionally appveyor goes nuts and takes over an hour, which no longer happens with the new formulation.

The second makes it possible to actually navigate the appveyor page. Note that the --arch i386 flag has disappeared. I think that's OK because stack binary i386 will default to i386. If not, perhaps there is a need for it to go in a stack setup flag?

Since Appveyor already has MSYS and 7zip installed, we could skip them with a suitable flag to stack setup (or by default), which would shave another minute or so off appveyor builds. I'm quite keen for stack to become the de facto appveyor toolkit, because its much easier than any alternative.

CC @snoyberg

Experiments show caching the GHC folder makes appveyor go 2 to 3 minutes slower in the best case, and has a massively higher chance of falling over. Appveyor recommends the cache folders be < 100Mb, which this violates. Appveyor also zips the folders at the end, which is why caching is slower.
snoyberg added a commit that referenced this pull request Oct 26, 2015
@snoyberg snoyberg merged commit feb57fa into commercialhaskell:master Oct 26, 2015
@snoyberg
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants